<?php


namespace app\admin\model;

use think\Model;

class VideoCategory extends Model
{
    protected  $pk = 'category_id';
    public function video()
    {
        return $this->hasMany('Video','category_id');
    }
}
